home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
1810
/
1810.xpi
/
chrome
/
showcase.jar
/
content
/
showcaseOverlay.xul
< prev
next >
Wrap
Extensible Markup Language
|
2010-01-17
|
6KB
|
134 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://showcase/skin/toolbar.css" type="text/css"?>
<!DOCTYPE overlay SYSTEM "chrome://showcase/locale/overlay.dtd">
<overlay id="showcaseOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript" src="showcaseOverlay.js" />
<script type="application/x-javascript" src="cache.js" />
<stringbundleset id="stringbundleset">
<stringbundle id="bundle_showcaseoverlay"
src="chrome://showcase/locale/overlay.properties"/>
</stringbundleset>
<commandset id="mainCommandSet">
<!-- command id="DebugShowcase" oncommand="showShowcaseDebug();"/ -->
<command id="ViewShowcase" oncommand="showShowcase(true, false);"/>
<command id="ViewShowcaseThisWindow" oncommand="showShowcase(false, false);"/>
<command id="ViewShowcaseTab" oncommand="showShowcase(true, true);"/>
<command id="ViewShowcaseThisWindowTab" oncommand="showShowcase(false, true);"/>
<command id="ViewShowcaseOptions" oncommand="showShowcaseOptions();"/>
<command id="ToolbarShowcase" oncommand="showShowcaseAllWindows(event);"/>
<command id="ToolbarShowcaseThisWindow" oncommand="showShowcaseThisWindow(event);"/>
<command id="ToolbarShowcaseTab" oncommand="showShowcaseTabAllWindows(event);"/>
<command id="ToolbarShowcaseThisWindowTab" oncommand="showShowcaseTabThisWindow(event);"/>
</commandset>
<keyset id="mainKeyset">
<key id="key_showcase" keycode="VK_F12" modifiers="shift" command="ViewShowcaseThisWindow"/>
<key id="key_showcase_all_windows" keycode="VK_F12" command="ViewShowcase"/>
<key id="key_showcase_sidebar" key="D" modifiers="accel,alt" observes="viewShowcaseThisWindowSidebar"/>
<key id="key_showcase_all_windows_sidebar" key="S" modifiers="accel,alt" observes="viewShowcaseSidebar"/>
<key id="key_showcase_tab" key="Y" modifiers="accel,alt" command="ViewShowcaseThisWindowTab"/>
<key id="key_showcase_all_windows_tab" key="T" modifiers="accel,alt" command="ViewShowcaseTab"/>
</keyset>
<!-- Sidebars -->
<broadcasterset id="mainBroadcasterSet">
<broadcaster id="viewShowcaseSidebar"
autoCheck="false"
label="&showcaseSidebar.label;"
type="checkbox"
group="sidebar"
sidebarurl="chrome://showcase/content/showcaseSidebar.xul?global=true"
oncommand="toggleSidebar('viewShowcaseSidebar');"/>
<broadcaster id="viewShowcaseThisWindowSidebar"
autoCheck="false"
label="&showcaseThisWindowSidebar.label;"
type="checkbox"
group="sidebar"
sidebarurl="chrome://showcase/content/showcaseSidebar.xul"
oncommand="toggleSidebar('viewShowcaseThisWindowSidebar');"/>
</broadcasterset>
<toolbarpalette id="BrowserToolbarPalette">
<toolbarbutton id="btn_showcasewindow"
class="toolbarbutton-1 chromeclass-toolbar-additional"
label="&showcaseThisWindow.label;"
tooltiptext="&showcaseThisWindow.tooltip;"
command="ToolbarShowcaseThisWindow"/>
<toolbarbutton id="btn_showcase"
class="toolbarbutton-1 chromeclass-toolbar-additional"
label="&showcase.label;"
tooltiptext="&showcase.tooltip;"
command="ToolbarShowcase"/>
<toolbarbutton id="btn_showcasewindowtab"
class="toolbarbutton-1 chromeclass-toolbar-additional"
label="&showcaseThisWindowTab.label;"
tooltiptext="&showcaseThisWindowTab.tooltip;"
command="ToolbarShowcaseThisWindowTab"/>
<toolbarbutton id="btn_showcasetab"
class="toolbarbutton-1 chromeclass-toolbar-additional"
label="&showcaseTab.label;"
tooltiptext="&showcaseTab.tooltip;"
command="ToolbarShowcaseTab"/>
<toolbarbutton id="btn_showcasewindowsidebar"
class="toolbarbutton-1 chromeclass-toolbar-additional"
observes="viewShowcaseThisWindowSidebar"
tooltiptext="&showcaseThisWindowSidebar.tooltip;"/>
<toolbarbutton id="btn_showcasesidebar"
class="toolbarbutton-1 chromeclass-toolbar-additional"
observes="viewShowcaseSidebar"
tooltiptext="&showcaseSidebar.tooltip;"/>
</toolbarpalette>
<popupset id="mainPopupSet">
<popup id="showcaseAllTabsPopup"
class="showcase-alltabs-popup"
position="after_end">
</popup>
<popup id="showcaseLeftTabsPopup"
class="showcase-lefttabs-popup"
position="after_start">
</popup>
<popup id="showcaseRightTabsPopup"
class="showcase-righttabs-popup"
position="after_end">
</popup>
<tooltip id="showcaseTooltipLeftArrow"
class="showcase-tooltip-leftarrow" />
<tooltip id="showcaseTooltipRightArrow"
class="showcase-tooltip-rightarrow" />
</popupset>
<menupopup id="viewSidebarMenu">
<menuitem id="showcaseThisWindowSidebarMenuItem" observes="viewShowcaseThisWindowSidebar" key="key_showcase_sidebar"/>
<menuitem id="showcaseSidebarMenuItem" observes="viewShowcaseSidebar" key="key_showcase_all_windows_sidebar"/>
</menupopup>
<menupopup id="menu_viewPopup">
<menu id="menu_showcase" label="&showcaseMenu.label;" insertafter="viewSidebarMenuMenu">
<menupopup>
<menuitem id="showcaseThisWindowMenuItem" label="&showcaseThisWindow.label;" key="key_showcase" command="ViewShowcaseThisWindow" />
<menuitem id="showcaseMenuItem" label="&showcase.label;" key="key_showcase_all_windows" command="ViewShowcase"/>
<menuitem id="showcaseThisWindowTabMenuItem" label="&showcaseThisWindowTab.label;" key="key_showcase_tab" command="ViewShowcaseThisWindowTab" />
<menuitem id="showcaseTabMenuItem" label="&showcaseTab.label;" key="key_showcase_all_windows_tab" command="ViewShowcaseTab" />
<menuseparator id="showcaseMenuSeparator" />
<menuitem id="showcaseOptionsMenuItem" label="&showcaseOptions.label;" command="ViewShowcaseOptions" />
</menupopup>
</menu>
</menupopup>
</overlay>